'use strict';

function choose_divisible_integer(collection_a, collection_b) {
  return collection_a.filter(function(x){
    for(let item of collection_b){
        if(x %item === 0 ){
          return x ;
        }
    }
  }) ;
  //在这里写入代码
}

module.exports = choose_divisible_integer;
// var collection_a = [4,7,9,25,16,21,64,32,35,49];
// var collection_b = [2,3,5];
// console.log(choose_divisible_integer(collection_a,collection_b));